package com.hfh.learn;

/**
 * @Author hfh
 * @Date 2022 09 14 20 12
 **/
public class Student {
    private static final Student student = new Student();

    Student(){

    }

    public static Student getInstance(){
        if (student!=null){
            return student;
        }
        return null;
    }

    public void study(){
        System.out.println("learn");
    }



}
